import request from '@/utils/request';

// 获取分组类型
export function getGroupMap() {
  return request({
    url: `/system-set/params-manager/type/map`,
    method: 'get',
  });
}

// 获取数据
export function getParamsGlobal(query) {
    return request({
      url: `/system-set/params-manager/global/set${query}`,
      method: 'get',
    });
  }

// 修改数据
export function putParamsGlobal(form) {
    return request({
      url: `/system-set/params-manager/global/set`,
      method: 'put',
      data:form
    });
  }